Coding method and coding device

ABSTRACT

The present disclosure provides a coding method and a coding device. The coding method includes: coding information bits via cyclic redundancy check CRC, then inputting the bits coded via the CRC into an interleaver determined by a construction parameter of a Polar code, where the interleaver is configured to interleave the bits coded via the CRC and output interleaved bits; and coding the output interleaved bits via the Polar code to obtain a coded Polar code.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 14/947,653, filed on Nov. 20, 2015, which is a continuation of International Application No. PCT/CN2014/078741, filed on May 29, 2014. The International Application claims priority to Chinese Patent Application No. 201310213255.1, filed on May 31, 2013. All of the aforementioned patent applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

Embodiments of the present invention relate to the field of communication and, in particular, to a coding method and a coding device.

BACKGROUND

A communication system generally uses channel coding to improve reliability of data transmission and ensure quality of communication. A polar (Polar) code is a theoretically-proved good code which may obtain a Shannon capacity and has low encoding and decoding complexities (the encoding and decoding complexities are O (NlogN), where N is a code length). When a code length of the Polar code is large, good performance can be obtained by using successive-cancellation (Successive-Cancellation, SC) decoding, such as SC decoding and SC-List decoding, the SC-List decoding greatly improves performance of the SC decoding, which is close to the best maximum-likelihood decoding (maximum-likelihood, ML for short) performance. However, when the Polar code is short or is of a medium length, performance of the proposed SC decoding and SC-list decoding is not outstanding, and the performance needs to be improved. That is to say, the SC decoding can achieve good performance which approaches Shannon limit in a case where the code length N is very long; but when N is relative short or is of a medium length, the performance of the SC decoding of the Polar code does not exceed performance of a Turbo and a low density parity check code (Low Density Parity Check Code, LDPC code for short), thus the decoding performance needs to be further improved.

For this purpose, the industry insider has proposed an improved coding method for improving subsequent decoding performance, for instance, CRC coding and Polar coding are subject to cascade connection so as to improve minimum code distance of a final Polar code, thereby achieving an improvement in the performance of the SC decoding/SC-list decoding of the Polar code when the code length N is relatively short or is of a medium length. A matrix generated by the above-described CRC coding method has a following form: G_(CRC)=[I P_(CRC)

.

However, a Polar code generating method using the cascaded CRC coding may not be able to improve minimum distance of entire codes; for instance, the Polar code cannot improve the minimum code distance under the CRC check code with some generator polynomial.

SUMMARY

For this reason, embodiments of the present invention provide a coding method and a coding device, which are used to solve a problem in the prior art that minimum code distance of a Polar code is not large enough when the Polar code is relatively short or is of a medium length.

In a first aspect, embodiments of the present invention provide a coding method, including:

coding information bits to be coded via cyclic redundancy check CRC, then inputting the bits coded via the CRC into an interleaver determined by a construction parameter of a Polar code, where the interleaver is configured to interleave the bits coded via the CRC and output interleaved bits; and

coding the output interleaved bits via the Polar code to obtain a coded Polar code.

With reference to the first aspect, in a first possible implementation, the coding the output interleaved bits via the Polar code includes:

coding the interleaved bits output by the interleaver via the Polar code according to a set arranged by an information bit set of systematic Polar code.

With reference to the first aspect, in a second possible implementation, if the information bits to be coded are Ki, then the bits coded via the CRC are b_([i]), where i=1, . . . , K, K=K₁+L, and L is the number of cyclic redundancy check;

inputting K into the interleaver u_([A(i)])=b_([i]) to obtain an output u_([A(i)]), A is a set of information bit indexes; and

coding u_([A(i)]) via the Polar code to obtain a coded Polar code;

where, A(i) is an index of an i^(th) information bit, and is the construction parameter of the Polar code.

With reference to the first aspect and the second possible implementation, in a third possible implementation, the coding u_([A(i)]) via the Polar code includes:

coding u_([A(i)]) by using a systematic Polar code coding scheme; or,

coding u_([A(i)]) by using a non-systematic Polar code coding scheme.

In a second aspect, embodiments of the present invention also provide a coding device, including:

a CRC check module, configured to code information bits to be coded via cyclic redundancy check CRC;

an interleaver, configured to interleave the bits coded via the CRC to obtain interleaved bits; and

a Polar code coding module, configured to code the interleaved bits via the Polar code to obtain a coded Polar code.

With reference to the second aspect, in a first possible implementation, the Polar code coding module is specifically configured to:

code the interleaved bits output by the interleaver via the Polar code according to a set arranged by an information bit set of systematic Polar code.

With reference to the second aspect, in a second possible implementation, the Polar code coding module is a systematic Polar code encoder or a non-systematic Polar code encoder.

With reference to the second aspect and possible implementations described above, in a third possible implementation, the interleaver is determined by a construction parameter using the Polar code.

It can be seen from the above technical solution that, in a coding method and a coding device according to embodiments of the present invention, the information bits to be coded are coded via the CRC, and then the bits coded via the CRC are input into the interleaver so that the interleaver interleaves the bits coded via the CRC, and the interleaved bits are coded via the Polar code to obtain the coded Polar code, thereby solving a problem in the prior art that minimum code distance of a Polar code is not large enough when the Polar code is relatively short or is of a medium length.

BRIEF DESCRIPTION OF DRAWINGS

In order to make technical solutions of the present invention clearer, accompanying drawings used for description of the embodiments will be briefly described hereunder. Obviously, the following drawings are merely the drawings of some embodiments of the present invention. For persons skilled in the art, other drawings which may realize the technical solutions of the present invention may also be obtained based on these drawings without any creative effort.

FIG. 1 is a schematic flow chart of a coding method according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart of a coding method according to an embodiment of the present invention;

FIG. 3 is a schematic structural diagram of a coding device according to an embodiment of the present invention;

FIG. 4 is a simulation diagram of minimum code distance of various coding methods.

DESCRIPTION OF EMBODIMENTS

In order to make objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be described clearly and completely hereinafter with reference to the accompanying drawings in embodiments of the present invention. Obviously, the described embodiments are only a part of embodiments of the present invention. Based on embodiments of the present invention described below, persons of ordinary skill in the art may obtain other embodiments that can solve technical problems of the present invention and achieve technical effects of the present invention by making an equivalent variation to some even all technical features without any creative efforts, whereas the embodiments through these variations do not depart from the scope disclosed by the present invention apparently.

In order to facilitate the understanding of the present invention, Polar coding will be described firstly.

A Polar code is a linear block code, of which a generated matrix is G_(N), and of which a coding process is x₁ ^(N)=u₁ ^(N)G_(N), where x₁ ^(N) is an output bit after the coding, u₁ ^(N) is an input bit before the coding, G_(N)=B_(N)F^(⊗n), and a code length N=2^(n), n≥0.

B_(N) is a transposed matrix, such as a bit reversal (bit reversal) matrix.

F^(⊗n) is Kronecker power (Kronecker power) of F, which is defined as F^(⊗n)=F⊗F^(⊗(n−1)),

$F = {\begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}.}$

The Polar code may be expressed as (N, K, A, u_(A) _(c) ) using a coset code, of which the coding process is x₁ ^(N)=u_(A)G_(N)(A)⊕u_(A) _(c) G_(N)(A^(c)), A is a set of information (information) bit indexes herein, G_(N)(A) is a submatrix obtained by those lines corresponding to indexes in the set A in G_(N). G_(N)(A^(c)) is a submatrix obtained by those lines corresponding to indexes in the set A^(c) in G_(N).

u_(A) _(c) is a frozen (frozen) bit, of which the number is (N−K), being known bits, where, N is a code length, and K is a length of an information bit. For the sake of simplicity, these frozen bits may be set to 0, at this time, the above coding process is simplified as x₁ ^(N)=u_(A)G_(N)(A).

In order to increase minimum code distance of the Polar code, embodiments of the present invention provide a new coding method. The coding method in embodiments of the present invention introduces an interleaver in relation to a construction parameter of the Polar coding, for increasing minimum distance of a Polar code obtained finally.

FIG. 1 shows a schematic flow chart of a coding method according to an embodiment of the present invention, as shown in FIG. 1, the coding method in this embodiment is described as below.

101, coding information bits to be coded via cyclic redundancy check (Cyclical Redundancy Check, CRC for short), then inputting the bits coded via the CRC into an interleaver determined by a construction parameter of a Polar code, where the interleaver is configured to interleave the bits coded via the CRC and output interleaved bits.

In this embodiment, the interleaver is configured to increase a minimum code distance of a Polar code obtained finally.

102, coding the output interleaved bits via the Polar code to obtain a coded Polar code.

In the coding method in the above embodiment, the information bits to be coded are coded via the CRC, and then the bits coded via the CRC are input into the interleaver so that the interleaver interleaves the bits coded via the CRC, and the interleaved bits are coded via the Polar code to obtain the coded Polar code, thereby solving a problem in the prior art that minimum code distance of a Polar code is not large enough when the Polar code is relatively short or is of a medium length.

In an alternative embodiment, the “coding the output interleaved bits via the Polar code” in the step 102 described above includes a step 1021 not shown in the figures:

1021, coding, via the Polar code according to a set arranged by an information bit set of systematic Polar code, the interleaved bits output by the interleaver.

In another alternative embodiment, reference may be made to FIG. 2, the coding method in this embodiment includes:

S01, if the information bits to be coded are K₁, then the bits coded via the CRC are b_([i]), where i=1, . . . , K, K=K₁+L, and L is the number of cyclic redundancy check;

S02, inputting K into the interleaver u_([A(i)])=b_([i]) to obtain an output u_([A(i)]), A is a set of information bit indexes.

Generally, the set of A is ordered according to reliability of information bits from high to low. As it can be seen above, bits sequence after CRC (the check bits are subsequent to the system bits) maps to the polar code's information bits set according to the reliability (such as a Polar system code).

S03, coding u_([A(i)]) via the Polar code to obtain a coded Polar code;

where, A(i) is an index of an i^(th) information bit, and is the construction parameter of the Polar code.

For instance, the coding u_([A(i)]) via the Polar code may include: coding u_([A(i)]) by using a systematic Polar code coding scheme; or, coding u_([A(i)]) by using a non-systematic Polar code coding scheme.

Furthermore, decoding for a CRC-cascaded Polar code corresponding to the coding method as shown in FIG. 1 or FIG. 2 may be as follow:

an inverse interleaving module may be introduced into the SC List decoding and the CRC check, then the decoding for the CRC-cascaded Polar code that is proposed in this embodiment may be implemented.

The coding method in the above embodiments may effectively solve a problem in the prior art that, minimum code distance of a Polar code is not large enough when the Polar code is relatively short or is of a medium length, and its performance is not sufficient enough to compete with performance of a Turbo code.

FIG. 3 is a schematic structural diagram of a coding device according to an embodiment of the present invention, as shown in FIG. 3, the coding device in this embodiment includes: a CRC check module 31, an interleaver 32 and a Polar code coding module 33;

where, the CRC check module 31 is configured to code information bits to be coded via CRC;

the interleaver 32 is configured to interleave the bits coded via the CRC to obtain interleaved bits; and

the Polar code coding module 33 is configured to code the interleaved bits via the Polar code to obtain a coded Polar code.

In an alternative embodiment, the above-described Polar code coding module 33 is specifically configured to:

code the interleaved bits output by the interleaver via the Polar code according to a set arranged by an information bit set of systematic Polar code.

During a specific application process, the Polar code coding module is a systematic Polar code encoder or a non-systematic Polar code encoder.

In particular, the interleaver 32 in this embodiment may be determined by a construction parameter using the Polar code.

The coding device in the above embodiments may effectively solve a problem in the prior art that, minimum code distance of a Polar code is not great enough when the Polar code is relatively short or is of a medium length, and its performance is not sufficient enough to compete with performance of a Turbo code.

A coding method for improving minimum code distance of the entire code by introducing an interleaver between a CRC check module and a Polar code coding module, will be described hereunder through simulated data and relevant contents.

In the simulation, we use 16 bits and 24 bits of CRC generator polynomial of an ITU as follows: g _(CRC24)(D)=[D ²⁴ +D ²³ +D ⁶ +D ⁵ +D+1] for a CRC length L=24 g _(CRC16)(D)=[D ¹⁶ +D ¹² +D ⁵+1] for a CRC length L=16.

In the simulation experiment, the minimum code distance of the entire Polar code is calculated using Anne Canteaut' algorithm.

It should be noted that, Anne Canteaut' described above is an algorithm disclosed in the prior art, which is only applied in the simulation experiment in this embodiment.

Compared with the method in the prior art, the minimum code distances obtained through calculation are shown in Table 1 as below:

TABLE 1 Systematic Systematic Systematic Systematic Polar code Polar code Polar code Polar code (2048, 683) + (2048, 683) + (2048, 1024) + (2048, 1024) + 24CRC 16CRC 24CRC 16CRC Coding method in the prior Minimum Minimum Minimum Minimum art where CRC coding is code code code code cascaded to Polar coding distance: 64 distance: 32 distance: 32 distance: 24 Coding method as shown in Minimum Minimum Minimum Minimum FIG. 1 or FIG. 2 in this code code code code embodiment distance: 80 distance: 64 distance: 32 distance: 32

The systematic Polar code (2048, 683) in the above table represents a systematic Polar code of which a code length N=2048 and an information bit length K=683.

FIG. 4 shows a simulation diagram of minimum code distance of various coding methods, as shown in FIG. 4, FIG. 4 is a union Bound of frame error rates (Frame Error Rate, FER) of various minimum code distance obtained by utilizing a first-order approximation

${FER} \simeq {\frac{1}{2}{n\left( d_{\min} \right)}{{erfc}\left( \left( {d_{\min}R\frac{Eb}{N\; 0}} \right)^{1/2} \right)}\text{:}}$ of the union bound. As shown in FIG. 4, if maximum-likelihood decoding ML is used, the FER will be greatly improved when minimum code distance is increased from 24 to 32.

The above simulation experiment has proved that, the coding method in embodiments of the present invention may effectively solve a problem in the prior art that, minimum code distance of a Polar code is not great enough when the Polar code is relatively short or is of a medium length, and its performance is not sufficient enough to compete with performance of a Turbo code.

Persons of ordinary skill in the art may understand that, all or a part of steps of the foregoing method embodiments may be implemented by a program instructing relevant hardware. The foregoing program may be stored in a computer readable storage medium. When the program runs, the steps of the foregoing method embodiments are performed. The foregoing storage medium includes various mediums capable of storing program codes, such as a ROM, a RAM, a magnetic disk, or an optical disc.

Finally, it should be noted that: the foregoing embodiments are merely intended for describing the technical solutions of the present invention rather than limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments, or make equivalent replacements to some or all technical features therein; however, these modifications or replacements do not make essence of corresponding technical solutions depart from the scope of the technical solutions in the embodiments of the present invention. 

What is claimed is:
 1. A communication method, comprising: obtaining, by a communication device, a bit sequence including K₁ bits, wherein K₁ is an integer greater than or equal to 1; performing, by the communication device, cyclic redundancy check (CRC) coding on the bit sequence to obtain a CRC-coded sequence, the CRC-coded sequence including K bits, wherein K=K₁+L, and L is a quantity of CRC bits; interleaving, by the communication device, the CRC-coded sequence to obtain an interleaved sequence by u_([j])=b_([i]); wherein u_([j]) is the j^(th) bit of the interleaved sequence, j is a bit index of the interleaved sequence, j=1, 2, . . . , K; wherein b_([i]) is the i^(th) bit of the CRC-coded sequence, i is a bit index of the CRC-coded sequence, i=1, 2, . . . , K; and performing, by the communication device, polar coding on the interleaved sequence according to a polar coding process of x₁ ^(N)=u₁ ^(N)G_(N), wherein x₁ ^(N) is a N-bit encoded sequence output by the polar coding process, u₁ ^(N) is an N-bit sequence including bits in the interleaved sequence, and G_(N) is a Polar code generating matrix of N rows×N columns; and transmitting, by the communication device, the encoded sequence x₁ ^(N).
 2. The method according to claim 1, wherein L=24.
 3. The method according to claim 1, wherein the CRC-coded sequence is obtained based on CRC generator polynomial g_(CRC24)(D)=[D²⁴+D²³+D⁶+D⁵+D+1].
 4. The method according to claim 1, wherein L=16.
 5. The method according to claim 1, wherein the CRC-coded sequence is obtained based on CRC generator polynomial g_(CRC16)(D)=[D¹⁶+D¹²+D⁵+1].
 6. A communication device, comprising: a cyclic redundancy check (CRC) encoder; an interleaver coupled to the CRC encoder; a polar code encoder coupled to the interleaver; and a transmitter coupled to the polar code encoder; wherein: the CRC encoder is configured to obtain a bit sequence including K₁ bits and perform CRC coding on the bit sequence to obtain a CRC-coded sequence, wherein K₁ is an integer greater than or equal to 1, the CRC-coded sequence including K bits, K=K₁+L, and L is a quantity of CRC bits; the interleaver is configured to interleave the CRC-coded sequence to obtain an interleaved sequence by u_([j])=b_([i]); wherein u_([j]) is the j^(th) bit of the interleaved sequence, j is a bit index of the interleaved sequence, j=1, 2, . . . , K; wherein b_([i]) is the i^(th) bit of the CRC-coded sequence, i is a bit index of the CRC-coded sequence, i=1, 2, . . . , K; and the polar code encoder is configured to perform polar coding on the interleaved sequence according to a polar coding process of x₁ ^(N)=u₁ ^(N)G_(N), wherein x₁ ^(N) is an N-bit encoded sequence output by the polar coding process, u₁ ^(N) is an N-bit sequence including bits in the interleaved sequence, and G_(N) is a Polar code generating matrix of N rows×N columns; and the transmitter is configured to transmit the encoded sequence x₁ ^(N).
 7. The device according to claim 6, wherein L=24.
 8. The device according to claim 6, wherein the CRC-coded sequence is obtained based on CRC generator polynomial g_(CRC24)(D)=[D²⁴+D²³+D⁶+D⁵+D+1].
 9. The device according to claim 6, wherein L=16.
 10. The device according to claim 6, wherein the CRC-coded sequence is obtained based on CRC generator polynomial g_(CRC16)(D)=[D¹⁶+D¹²+D⁵+1]. 